﻿using System;
using System.Collections.Generic;
using System.Text;
using Daco.Pattern;

namespace Daco.Web.Publish.Providers
{
    internal class CPublishProvider
    {

        public static CPublishProvider Instance
        {
            get
            {
                return CPageSingleton<CPublishProvider>.Instance;
            }
        }

        internal string GetArticleBody(string articleID, bool isPlainBody)
        {
            throw new NotImplementedException();
        }

        internal CArticle GetArticle(string articleID)
        {
            return null;
        }

        internal List<CArticle> GetArticles(int pageIndex, int pageSize)
        {
            throw new NotImplementedException();
        }

        internal List<CArticle> GetArticles(int categoryId, int pageIndex, int pageSize)
        {
            throw new NotImplementedException();
        }

        internal List<CArticle> GetPublishedArticles(DateTime dateTime, int pageIndex, int pageSize)
        {
            throw new NotImplementedException();
        }

        internal List<CArticle> GetPublishedArticles(int categoryId, DateTime dateTime, int pageIndex, int pageSize)
        {
            throw new NotImplementedException();
        }

        internal List<CArticle> GetRelatedArticles(string articleId, int count)
        {
            throw new NotImplementedException();
        }

        internal bool ApproveArticle(string articleId)
        {
            throw new NotImplementedException();
        }

        internal bool RateArticle(string articleId, int rating)
        {
            throw new NotImplementedException();
        }

        internal bool IncrementArticleViewCount(string articleId)
        {
            throw new NotImplementedException();
        }

        internal CArticle GetArticleById(string articleId)
        {
            throw new NotImplementedException();
        }

        internal int GetArticleCount()
        {
            throw new NotImplementedException();
        }

        internal int GetArticleCount(int categoryId)
        {
            throw new NotImplementedException();
        }

        internal int GetPublishedArticleCount(DateTime dateTime)
        {
            throw new NotImplementedException();
        }

        internal int GetPublishedArticleCount(int categoryId, DateTime dateTime)
        {
            throw new NotImplementedException();
        }
    }
}
